#ifndef __MyI2C__H__
#define __MyI2C__H__

#define MyI2C_SDA_PORT 	GPIOB
#define MyI2C_SDA_PIN 	GPIO_Pin_10
#define MyI2C_SCL_PORT 	GPIOB
#define MyI2C_SCL_PIN 	GPIO_Pin_11

void MyI2C_W_SCL(uint8_t BitValue);
void MyI2C_W_SDA(uint8_t BitValue);
uint8_t MyI2C_R_SDA(void);

void MyI2C_Init(void);
void MyI2C_Start(void);
void MyI2C_Stop(void);
void MyI2C_SendByte(uint8_t Byte);
uint8_t MyI2C_ReceiveByte(void);
void MyI2C_SendAck(uint8_t AckBit);
uint8_t MyI2C_ReceiveAck(void);



#endif
